package com.tongcao.cn.algorithm.designMoel.proxy.jdk;

/**
 * @Author:tongcao
 * @Date:2019/4/10 10:39
 * Description:
 */
public class RealSubject implements Subject {


    @Override
    public void rent() {
        System.out.println("I want to rent my house");
    }

    @Override
    public void say(String str) {
        System.out.println("say:" + str);
    }
}